package cn.tang.crm.comm;

public class UIMessage {
	// admin
	public static final String NAME_PWD_ERROR = "username or password error";

	public static final String RESET_PWD_SUCCESS = "reset password success";
	public static final String RESET_PWD_FAILURE = "reset password failure";

	public static final String DELETE_USER_SUCCESS = "delete user success";
	public static final String DELETE_USER_FAILURE = "delete user failure";

	public static final String UPDATE_USER_SUCCESS = "update user success";
	public static final String UPDATE_USER_FAILURE = "update user failure";

	public static final String ADD_USER_SUCCESS = "add user success";
	public static final String ADD_USER_FAILURE = "add user failure";
	public static final String USER_NAME_EXIST = "username has exist";
	
	public static final String ADD_ROLE_SUCCESS = "add role success";
	public static final String ADD_ROLE_FAILURE = "add role failure";
	public static final String ROLE_NAME_EXIST = "role name has exist";

	public static final String ADD_CLIENT_TYPE_SUCCESS = "add client type success";
	public static final String ADD_CLIENT_TYPE_FAILURE = "add client type failure";
	public static final String CLIENT_TYPE_EXIST = "client type name has exist";

	public static final String ADD_CLIENT_CLASS_SUCCESS = "add client class success";
	public static final String ADD_CLIENT_CLASS_FAILURE = "add client class failure";
	public static final String CLIENT_CLASS_EXIST = "client class name has exist";

	// user

	public static final String DELETE_CLIENT_SUCCESS = "delete client success";
	public static final String DELETE_CLIENT_FAILURE = "delete client failure";

	public static final String DELETE_ORDER_SUCCESS = "delete order success";
	public static final String DELETE_ORDER_FAILURE = "delete order failure";
	public static final String ADD_CLIENT_SUCCESS = "add client success";
	public static final String ADD_CLIENT_FAILURE = "add client failure";
	public static final String CLEINT_USER_EXIST = "client name has exist";

	public static final String ADD_ORDER_SUCCESS = "add order success, if has pay go to order list set pay status";
	public static final String ADD_ORDER_FAILURE = "add order failure";

	public static final String PAY_ORDER_SUCCESS = "pay order success";
	public static final String PAY_ORDER_FAILURE = "pay order failure";
	public static final String CANCEL_PAY_ORDER_SUCCESS = "cancel pay order success";
	public static final String CANCEL_PAY_ORDER_FAILURE = "cancel pay order failure";

}
